<template>
  <el-upload ref="uploadImage" :action="serverUrl"
    :data="dataImageUpload" accept=".jpg,.png.,.gif"
    :show-file-list="false"
    :before-upload="uploadBefore()" :on-success="uploadSuccess"
    >
    <!-- :on-error="uploadError('图片')" -->
    <div slot="default" class="upload-btn">
      <i class="el-icon-plus"></i>
    </div>
  </el-upload>

  <el-upload ref="uploadVideo" :action="serverUrl" :data="dataVideoUpload"
        :show-file-list="false"
        :before-upload="uploadBefore" :on-success="uploadSuccess"
        >
        <!-- :on-error="uploadError('视频')" -->
        <div slot="default" class="upload-btn">
          <i class="el-icon-plus"></i>
        </div>
      </el-upload>
      <el-upload ref="uploadFile" :action="serverUrl" :data="dataFileUpload"
        :show-file-list="false"
        :before-upload="uploadBefore" :on-success="uploadSuccess"
        >
        <!-- :on-error="uploadError('文件')" -->
        <div slot="default" class="upload-btn">
          <i class="el-icon-plus"></i>
        </div>
        
      </el-upload>
</template>
<script>
export default {
  
}
</script>